package com.windy.kafka.sender.annotation.header;

import com.google.common.collect.Lists;

import java.util.List;

/**
 * Created by liyufeng on 2022/5/8
 */
public class TracingHeaders {

    private List<TracingHeader> tracingHeaders = Lists.newArrayList();

    public TracingHeaders add(TracingHeader tracingHeader) {
        tracingHeaders.add(tracingHeader);
        return this;
    }

    @Override
    public String toString() {
        return "TracingHeaders{" +
                "tracingHeaders=" + tracingHeaders +
                '}';
    }
}
